﻿using Benefactor.Models.DbModels;
using Bigway.Common.Services.Repositories;

namespace Benefactor.Services.Repositories;

public interface ICrmebProductRepository: IBaseRepository<CrmebProduct>
{
    Task<List<CrmebProduct>> GetAllBenefitsCardStoreProducts(
        IList<int>? productIds,
        CancellationToken token = default);

    Task<List<CrmebProduct>> GetAllBenefitsCardStoreProducts(
        CancellationToken token = default) => GetAllBenefitsCardStoreProducts(null, token);
}